<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>
<body>
    
    <div id="app">

        <h3>{{msg}}</h3>

        <input type="text" placeholder="不是吧，啊sir" v-model="phone">
        <h3>{{phone}}</h3>
        <p v-text="str"></p>
        <p v-html="rose"></p>
    </div>

    <script src="../lib/Vue/vue.js"></script>
    <script>

        var vm = new Vue({
            el: '#app', // 挂载范围
            data: { // 数据存储
                msg: 'hello world',
                phone:'',
                str: '哦豁',
                rose: '<strong>破防</strong>'
            }
        })
    </script>
</body>
</html>